home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / midas060 / src / mpoll.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-16  |  1.8 KB  |  77 lines

  1. /*      mpoll.h
  2.  *
  3.  * Functions for polling MIDAS Sound System in a thread
  4.  *
  5.  * $Id: mpoll.h,v 1.2 1997/01/16 18:41:59 pekangas Exp $
  6.  *
  7.  * Copyright 1996,1997 Housemarque Inc.
  8.  *
  9.  * This file is part of the MIDAS Sound System, and may only be
  10.  * used, modified and distributed under the terms of the MIDAS
  11.  * Sound System license, LICENSE.TXT. By continuing to use,
  12.  * modify or distribute this file you indicate that you have
  13.  * read the license and understand and accept it fully.
  14. */
  15.  
  16. #ifndef __mpoll_h
  17. #define __mpoll_h
  18.  
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24.  
  25. /****************************************************************************\
  26. *
  27. * Function:     void PollMIDAS(void)
  28. *
  29. * Description:  Polls MIDAS Sound System
  30. *
  31. \****************************************************************************/
  32.  
  33. void PollMIDAS(void);
  34.  
  35.  
  36.  
  37. /****************************************************************************\
  38. *
  39. * Function:     void StartPlayThread(unsigned pollPeriod)
  40. *
  41. * Description:  Starts polling MIDAS in a thread
  42. *
  43. * Input:        unsigned pollPeriod     polling period (delay between two
  44. *                                       polling loops) in milliseconds
  45. *
  46. \****************************************************************************/
  47.  
  48. void StartPlayThread(unsigned pollPeriod);
  49.  
  50.  
  51.  
  52. /****************************************************************************\
  53. *
  54. * Function:     void StopPlayThread(void)
  55. *
  56. * Description:  Stops polling MIDAS in a thread
  57. *
  58. \****************************************************************************/
  59.  
  60. void StopPlayThread(void);
  61.  
  62.  
  63. #ifdef __cplusplus
  64. }
  65. #endif
  66.  
  67. #endif
  68.  
  69. /*
  70.  * $Log: mpoll.h,v $
  71.  * Revision 1.2  1997/01/16 18:41:59  pekangas
  72.  * Changed copyright messages to Housemarque
  73.  *
  74.  * Revision 1.1  1996/08/06 20:36:45  pekangas
  75.  * Initial revision
  76.  *
  77. */